Button control

Any number of Button controls can be added to a Dialog using the Button controlon the toolbar of Dialog editor.

The action perfomed at runtime by clicking the button depends primarily on its ButtonType property setting.

ButtonType

The following legacy settings are only available for Windows Desktop Deployment

The Caption property (defaults to 'Button') should be set for all Buttons

For Windows Desktop Deployment the caption can include an ALT key letter. For example, using a button title of &Back would produce a button marked Back, where pressing ALT+B at run time would be the same as pressing the button. The first ampersand character is always treated as an ALT key indicator and must therefore be used with care.

The Button Control can be made invisible at runtime by assigning the Visible property to False

When both the IsArea & Visible properties are both set to True, the Button will not be visible to the runtime user, but instead act as a kind of hotspot. This is typically used with an overlaid image controls for the user to click on, thus providing an alternative look to the standard button.